html {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #303133;
    font-size: 14px;
}

body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.border, .border_top, .border_right, .border_bottom, .border_left {
    position: relative;
}

.border::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    border: 1px solid #dedede;
    transform-origin: 0 0;
    box-sizing: border-box;
    border-radius: 6px;
}

.border_top::before, .border_right::before, .border_bottom::before, .border_left::before {
    display: block;
    content: "";
    position: absolute;
    background: #dedede;
}

.border_top::before {
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
}

.border_left::before {
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    height: 100%;
}


.border_right::before {
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    height: 100%;
}

.border_bottom::before {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) {
    .border::before {
        width: 200%;
        height: 200%;
        transform: scale(0.5);
    }

    .border_top::before, .border_bottom::before {
        transform: scaleY(0.5);
    }

    .border_left::before, .border_right::before {
        transform: scaleX(0.5);
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) {
    .border::before {
        width: 300%;
        height: 300%;
        transform: scale(0.33333);
    }

    .border_top::before, .border_bottom::before {
        transform: scaleY(0.33333);
    }

    .border_left::before, .border_right::before {
        transform: scaleX(0.33333);
    }
}

@media (max-width: 800px) {
    ::-webkit-scrollbar {
        display: none;
    }
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hidden {
    display: none;
}

.overflow-hidden {
    overflow: hidden;
}